function init_global_soft_grinding

% initialize values for global variables

global NUMBER_OF_EVENTS LENGTH BIG TNOW MAINT_COST REPAIR_COST SALES_REVENUE EXP_RATE 
global SHAPE1 SCALE1 SHAPE2 SCALE2 A3 B3 B U L MU STATES_MAX NET_ITERMAX ISTAR EMP_DIST
% types of events 1=termination; 2=produce;3=repair; 4=maintenance 

global ENCODER_UL_PC % upper limit for encoder for likely value of production count in neuron
ISTAR=1;


NUMBER_OF_EVENTS = 4; 

LENGTH=200000;

BIG=10000001; % has to be bigger than LENGTH 

STATES_MAX=15;

TNOW=0;





EMP_DIST=[0.0007,0.0067,0.0250,0.0267,0.0417,0.0600,0.0817,0.1067,0.1350,0.1567,0.1667,0.2017]


% Following are parameters of the uniform distribution for maintenance time

U=1;

L=2;





% Following parameters from unif distribution for repair time

A3=3;

B3=4;





MAINT_COST=20; % cost of one maintenance in dollars

REPAIR_COST=50; % cost of one repair in dollars

SALES_REVENUE=200;

EXP_RATE=0.5;


